package com.lcy.smartcity.entity;

import org.locationtech.jts.geom.Point;

public class Buildings {

    private int id;

    private String name;

    private int floor;

    private int height;

    private String type;

    private double longitudeX;

    private double latitudeY;

    private String category;

    private Point geo;  //几何字段

    private Double distance; // 检索距离

    // getter/setter用于读写字段
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}

    public String getName() {return name;}
    public void setName(String name) {this.name = name;}

    public int getFloor() {return floor;}
    public void setFloor(int floor) {this.floor = floor;}

    public int getHeight() {return height;}
    public void setHeight(int height) {this.height = height;}

    public String getType() {return type;}
    public void setType(String type) {this.type = type;}

    public double getLongitude_X() {return longitudeX;}
    public void setLongitude_X(double longitude_X) {this.longitudeX = longitude_X;}

    public double getLatitude_Y() {return latitudeY;}
    public void setLatitude_Y(double latitude_Y) {this.latitudeY = latitude_Y;}

    public String getCategory() {return category;}
    public void setCategory(String category) {this.category = category;}

    public Point getGeo() {return geo;}
    public void setGeo(Point geo) {this.geo = geo;}

    public Double getDistance() {return distance;}
    public void setDistance(Double distance) {this.distance = distance;}
}
